package request

import (
        "topsdk/util"
    )

type TaobaoOpentradeOrderdetailEntryGetRequest struct {
    /*
        商品id列表     */
    ItemIdList  *[]int64 `json:"item_id_list" required:"true" `
}

func (s *TaobaoOpentradeOrderdetailEntryGetRequest) SetItemIdList(v []int64) *TaobaoOpentradeOrderdetailEntryGetRequest {
    s.ItemIdList = &v
    return s
}

func (req *TaobaoOpentradeOrderdetailEntryGetRequest) ToMap() map[string]interface{} {
    paramMap := make(map[string]interface{})
    if(req.ItemIdList != nil) {
        paramMap["item_id_list"] = util.ConvertBasicList(*req.ItemIdList)
    }
    return paramMap
}

func (req *TaobaoOpentradeOrderdetailEntryGetRequest) ToFileMap() map[string]interface{} {
    fileMap := make(map[string]interface{})
    return fileMap
}